

<form id="form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <input type="hidden" name="ids" value="{$ids}">
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('选择帐号')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="form-inline" data-toggle="cxselect" data-selects="admin">
                <select class="form-control admin" name="row[admin_id]" data-url="auth/admin/lists"></select>
            </div>
        </div>
    </div>

    {if $ids == 0}
    <div class="form-group">
        <label for="c-count" class="control-label col-xs-12 col-sm-2">{:__('数量')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-count" class="form-control" name="row[count]" type="text" value="" data-rule="required">
        </div>
    </div>
    {/if}

    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>

